<?
//рус
class App_Module_Front_Layout extends Mozg_Layout
{
    /**
		шаблон default
     */
    protected function DefaultTmp ()
    {
        $this->SetDefaultHeaders();
        Mozg::Response('http')->SetHeader('Content-Type', 'text/html; charset=UTF-8');
        
        $t = $this->GetTpl('Base');
        $t->siteName = Mozg_Cfg::Get('site/global')->GetSiteName();
        $t->content = Mozg::Response('http')->GetBody();
        $t->user = Mozg::User();
        
        $t->style = Mozg::Ctrl('media', 'style', 'http', 'web');
        
        Mozg::Response('http')->SetBody($t->DefaultTmp());
    }
 
}